//**********************************************************************************
// Klasse RightMenuPanel - rechtes Menü
//
//
//**********************************************************************************
package binarytree.view;

import binarytree.model.Tree;
import binarytree.view.draw.DrawPanel;
import java.awt.BorderLayout;
import javax.swing.BorderFactory;
import javax.swing.JPanel;

public class LeftDrawPanel extends JPanel {

    private DrawPanel panel;
    
    public LeftDrawPanel() {
        setBorder(BorderFactory.createTitledBorder("Baum"));
        setLayout(new BorderLayout());
        panel = new DrawPanel();
        add(panel, BorderLayout.CENTER);
    }

    public DrawPanel getPanel() {
        return panel;
    }

}
